New day/night system

- Some fix and improvements