     let appVersion = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as! String
 
     func application(application: UIApplication, willFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
+		print("1111:   willFinishLaunchingWithOptions")
         // Set the Firefox UA for browsing.
         setUserAgent()
 

    }

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0)) {
            AdjustIntegration.sharedInstance.triggerApplicationDidFinishLaunchingWithOptions(launchOptions)
        }

            application.endBackgroundTask(taskId)
        }
    }

	func applicationWillEnterForeground(application: UIApplication) {
		print("1111:   applicationWillEnterForeground")
	}

    private func setUpWebServer(profile: Profile) {
        let server = WebServer.sharedInstance
