Multiple changes, fixes and improvements

Fixes #3, fixes #7, fixes #10,

Also implements serial interrupts and faster scheduler ticks.