[Console] fixed some initializations in the ProgressBar class