Added GUI thread.