     }
 
     func applicationDidEnterBackground(application: UIApplication) {
-		print("1111:   applicationDidEnterBackground")
 
         self.profile?.syncManager.applicationDidEnterBackground()
 

    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 applicationWillEnterForeground(application: UIApplication) {
	}

    private func setUpWebServer(profile: Profile) {
