Refactored the ToggleAction to not call the pressed method repeatedly.
Added some key listeners to move the camera.