editor.editor Phoenix Fixes

Some fixes to make the editor demo work.
editor still needs more work - demo isn't quite working properly yet
Trim Trailing Space