Rework preview in RefactorWindow.