Looks like Steve was going for a 10 second period in the MAXDELAY . Triggering with the AC line at 60 Hz 6000 cycles = 10 second.

DIMMERS? Catching the positive side of the AC signal?