We now process the interrupts at every loop tick, and fixed how the Interrupt Request Flags are set and cleared.