fix warning
use a longer period of time to sample the block processing rate, smooths out fluctuations affecting the download rate
log pruning time