[#15] Updated debug code to set the progress bar's progress to 0 by default.