Clean up before exit.

TODO: Should probably drop the SingleTon in the future... Passing a
GameData containing the ObjectContainer to the methods that create
objects should suffice.