fixed all of the rendering and random level gen.