Timed day/night phases, channel modes, misc. fixes.