TOOLS: Add lighting decoding.

This adds decoding lights from the setb files to setb2set, and a few other minor changes.