added support for MenuItemProperties for addMenuItem, removed some cruft, beginning support for menu item placement