make progprint better for long jobs, fixes #26
there must be a better library for this kind of thing...