Lots of fixes for the front end editor.