Make OEGameDocument a OEGlobalEventsHandler, implement the missing methods and set the document as the handler of its system responder.