Corrected Increment Bug in WatchDogSleep, added freeMemory Check