Extremely small nit: could be ```editorInstanceCounter += 1;```