Implement power management when idling. Add support for nested interrupts. Exceptions are WIP