Improve organisation of Edit menu and disable actions automatically instead of failing the action when you don't have focus.