Tidied up MainMenu, using new API function for external links