Cleaner IRQ handling; emergency termination hook