speed up a bit by updating the processbar less often