add total progress bar, TODO: last n done job still has little refreshing problem