Made all lights use the new light hack, whether lightmaps or not.
Fixed some memory errors reported by Dr. Memory.
Improved depth determination for ramps a bit.
Bugfix: reels had no rhw coordinate, this messed with texture mapping.