Setup the interrupts properly.
Tweaks
Fix initialisation of the process state.