fixed: won't erase flags on start, disables flagging after game over, no global variables