added scaling graphics in fullscreen mode, definitely lots of spaghetti code that needs commenting...