fixed lights restart bool operators, added ato and expanded i/o, cleaned up includes