Nailed a *ton* of memory leaks + partial bugfix

Now, when you start a new game after a "lose" endgame, all the stuff is
initialized properly for level 1. It still doesn't work right for a
"win" endgame though - in the new game, the first level starts off with
everything set for level 3.