large WIP for complete lexical editor change; editor is nearly complete but needs to be integrated with existing UI; also minor utility changes (e.g, some lexical copy constructors); lexical templates (WIP)