Cleaned up randomlevelgenerator some.