FPS capped to 60, basic state system, gfx engine can toggle fullscreen

menu has hack (menuWait int)to prevent multiple states being skipped
through with even a short keypress