Fixed handling of channel comm failures.  Fixed bug in scheduler where it could crash when it is restarted.