Added TTY width checking for progress bar.