Improved level generation code some.