change UI,change output Dir. process in another thread.