fixed gui force close from another thread.