improved gui

some bug at GameFrame
missing the connection between the gui and logic