fixed Editor options not showing the first value in list.
some timing and promises fixes to Editor and domUtils