added a wrapper gui component and made it stateful.  gui now has reference to game object