Fixing ProgressReporter output

The escape code is necessary to erase the remains of the progress bar
after errors are reported.

And it shouldn’t be necessary to put `ENDCODE` any more since the
output is only partially colorized now.