Batch progress bar, fixes #1398