Ensure there is a main item when the wiki page with the last main item is deleted (WIP)

TODO open a dialogue where the user can select a wiki page for main menu item respawn - see 'change parent wiki page'
Make wiki_menu_items#update more readable