Change progress to display percent complete.
Avoid printing progress if stdout isn't a TTY.