Watchdog timer functions, needs to have the variables filled in, but otherwise complete.