Long time past i last toyed with this, but there is a small bug id like to report.
Torch models go ballistic with this code (basically they dissapear), so in retrospect since last time i used it it was on a
modified tochris source, i made sure it was not due to any of my tinkering by applaying the code to an unmodified quake source and it still does it

Productivity is a state of mind.