Refresh outer scope less aggressively. The removed calls were duplicated by the call to refreshEditor in Editor.onChange.