Issue #1104204 by dereine and merlinofchaos: Separate preview from main UI, remove preview from pre_render so that messages will appear properly.