Fixed some bugs in game_events and level

Finishing the level should work correctly now. Also, finishing and
quitting the level should now reset the level to it's original state.
Merge with Grant's commit