thread app

a progress bar running with thread