suport for mutil-thread

add mutil-thread
modify initialize condation
modify the title of  the window