editor: move more commands to gb-editor-commands.