Fixed bug in progress display