update progressbar every MIN(1%, 512kB)

Fixes #1002