added debugging controls for light