public override void WillFinishLaunching(NSNotification notification)
{
NSAppleEventManager eventManager = NSAppleEventManager.SharedAppleEventManager;
eventManager.SetEventHandler (this, new Selector ("handleGetURLEvent:withReplyEvent:"), AEEventClass.Internet, AEEventID.GetUrl);
}