Fixed issue where unsigned ints were being compared with millis(). Now using unsigned long.