Bugfix: run UI update in GUI thread