Correctly reads override switch. Added Watchdog checking.

This is production code and has been running for about two months
successfully.