Make t unsinged lond as per millis spec, do a little documenting

The millis function returns a unsigned long int, this would overflow an
int causing negative numbers
Added code to handle flipping of warning lights,