These menu entries are added by macros:
Undo Last Closed
This feature is provided by mru.kmm. If you don't need this feature, disable the mru module under Edit > Advanced Preferences > Macro Extension. Otherwise, if you only want to remove "Undo Last Closed" from the layer button popup menu and want to keep it in the File menu, open Edit > Configuration > Menus and paste the following lines:
!LayerButtonPopup{
-&Undo Last Closed
}
Add Link To Group...
This feature is provided by groups.kmm. If you don't need any groups functionality, disable the groups module under Edit > Advanced Preferences > Macro Extension. Otherwise, if you only want to remove "Add Link To Group..." from the link popup menu, open Edit > Configuration > Menus and paste the following lines:
!LinkSave{
-Add Link To &Group...
}
Send Link To
The Send To submenus in the page/link/image and go button popup menus are provided by sendto.kmm. Other macro modules (e.g. ie.kmm) can add menu entries to these Send To menus. Removing only the "Send Link To" menu might cause problems with such other macro modules. So, either keep all Send To menus or disable the sendto module (the menu entries which normally appear in those Send To submenus will then appear directly in the page/link/image and go button popup menus).
Send Image As Link...
This feature is provided by mail.kmm. If you don't need any mail/news functionality, disable the mail module under Edit > Advanced Preferences > Macro Extension. Otherwise, if you only want to remove "Send Image As Link..." from the image popup menu, open Edit > Configuration > Menus and paste the following lines:
!ImageSave{
-Sen&d Image As Link...
}
You have to restart km to make any of these changes take effect.