fixed flags, added save / load game