Add OS X window and help menus and Quartz accelerator support.