Run GUI update in main thread.