used requestNewDimension in constructor and removed hard-coded width and
height from GameFrame.paintToBuffer