implement mainmenu, some gamestates
ramp up the warnings in the cmake, in debug mode
fix unrecognized wanrning, for clang