updated thresholds
currently writes image to display, need to uncomment later
included light_effect.png output image file