added basic mouse handling (movement, button presses)