CMS-3546 TextComponent - Send TextComponentSetTextEvent when editor is deselected
Some renaming and earlier use of typed variables