first draft of statebased menus & game (!working)