added a watchdog

using the watchdog timer @ 250ms to (hopefully) catch a hardware glitch.