Invalid commands in Edit menu

Taken over from the thread Shortcut to group selected nodes into a process

These commands should probably be inactive, when right-clicking a definition, they lead to an error.