Fixed warning
Rearranged init code
Added some comments
Added support for lock keys
Added ctrl-alt-del handler
Added movecursor function
Remove the 1M gap
Added some comments