OS X Framework, custom implementation of NSMenu and NSMenuitem