Add --stats-every <secs> option.

Periodically displays and resets stats.
Useful for unattended operation.
Add stats for number of sample blocks processed and dropped.
Merge branch 'more-stats'