Added more debugging to mainmenustate.cpp