Added exception handling to poll_cycle and changed configuration to have all lines commented out by default
Added exception handling