Added better progress bar.
added code.