cleaned up editor for Sfgui