checkSwitches() hopefully more sane