Added menu item to show the preferences window.