Use game flags to reset and change levels

I didn't like loading the map in the middle of an event, or in different
areas of code. I changed it so a flag can be set that will be read in
the mail game loop for resetting or loading a level.