Add a new threshold.  When trying to catch up on a volume a large gap
will build up at the beginning of the list.  This is a single large
interval so will have little impact on the median and therefore not
trigger a resort.

New threshold triggers a resort if the largest gap is more than twice
the median.
Fix missing format string argument
Support multiple candidate files.  I use this for pre-and post sorted
candidates.