lots of hacking on mouseevents.  what a mess :(
added fullscreen api and pointer lock support
fixed pointer lock