* remove qt text window * use wrapper, render text window in thread * add wait_for_exit method * update imports