Added a basic physics engine and tweaked the fullscreen mode to be more intuitive.