CBS Safety

Edited CBS code to turn off every relay before turning one on
cleaned up some code style inconsistencies
added use for dip switches (sw2 disables CBS)