Fix code analysis problems.
Preserver store.main_menu when we enter a sub-menu from the main menu.
Remove now-obsolete code.
Do not save when renpy.store.main_menu is true.

We're using renpy.store.main_menu as the flag to tell us we're in
the main menu.