Creating the base for an editor window