added code to flash sky white after a sudden significant increase in light