Cleaned up scene a bit.
+added some generation management code.