I'm not so fond of letting cocoa access MPContext (because this is just going to make others add more dependencies on MPContext implementation details in the future).

Consider just passing input_ctx, and maybe the app_style option value to the cocoa code.