Add an auto_window function that returns a Window instance.
Refactor all the Conditionals into separate enamldefs. Test each editor.