adding support for a gui in GameBase