Set shadows on/off only once each time setting is changed, not each frame.
Turn lights off when no longer drawing with lighting on.
Use GLM for shadow calculations.
qtscript: Add new event 'eventObjectRecycled(object)' for demolish and recycle actions.
Convert structures.txt to structure.ini