I am just wondering if the watch dog timer is enabled in any part of the code? I can't seem to find anything about it.
You're correct. I've not done anything with the watchdog timer. It would be good to experiment with that.
You could set it in the preamble for a Task, and then keep it reset in the body of the Task.
Or change the fuses so that it always runs, then reset it in a Task body.
If you wanted to make it invisible, you could add a small watchdog timer reset function into the scheduler.