Extract UI Refresh from Scratch Thread.