GbEditorFrame: use self instead of frame