small formatting changes for output and ensuring progress bars are terminated on error