Fixed a texture lookup issue that caused about 50% of the maps to crash on load.
Fixed debug cubes being added each frame and showing up in technicolor.