Added better interval dectection, and updated some log statements.

Eventually I'd like to keep a histogram of the run durations, and auto-tune the queue and pool size to minimize lag.