Added an activity watchdog and terminator script.