IRQ handler fixes and new registers