add progress bar and log window