Added some documentation and changed paint functions to use width and
height of the Game.