tweaked the logic on the progress pane.