fixed: cursor on/off
changed: terminal is now emulated using termlib.js
added: new shell and terminal
added: mouse, keyboard and event functions
Emscripten can't do unaligned memory access, so...
fixed: some extended keys
fixed: screen update + inkey (gfxlib2)
first emscripten prot commit