Cocoa project fix and NSMenuItem binding