shadows mode logic

fading and restart if out of light
+ a lot of adjastments:
- fade color,
- fade speed,
- fade treshold
-... and other