[mod] Safely update UI from background thread.