Some cleanup.
Added event controll to day time.