changed a few things within the gui code of the editor window