Fix build

-Missing #includes and mp_off_t
Terminate by pressing On

-Registers IRQ handler
-Mostly untested