Fixed some bugs when adding and/or removing standard menu items. Code now uses GetMenuItemInfo instead of GetMenuItemID when retrieving the menu item ID.