undo broken inverter kludge; handle day switchover uncertainty; more dst insanity kludges