add interrupt debugging; fix bug with the AP60 interrupt handler