Improvements to scene and logging, fix release builds

Animate lights in the test scene
Fix color mask state constructor
Logging improvements
Remove some unused warnings in release builds