Fix spurious program END with manual zone control, use onoff module for relays (portability), workaround for raspbian gpio access timing issue.