Update light loading code
Update light loading code

The code no longer assumes the active member will be provided, since its
not part of the (material common) standard. Distance is now assumed though, since it *is*
part of the extension.

RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine