Refactored the hierarchy of the widgets such that GameEngine holds GameState which holds MyGLDraw.