fixed some crap to work with stupid lwjgl display-mouse-keyboard combo