removed gdx, and stuff
fixed up event handling