         webView.loadRequest(req);
         
         
+    }
+
+    func applicationWillFinishLaunching(aNotification: NSNotification) {
+        // Initialize Menubar Button
+        initStatusItem()
     }
     
     func windowDidResize(notification: NSNotification) {

        }
    }
    
    func statusBarItemClicked() {
        webView.evaluateJavaScript("reactivation()", completionHandler: nil);
        reopenWindow(self)
        NSApp.activateIgnoringOtherApps(true)
    }
    


}

    @IBOutlet var spinner : NSProgressIndicator!
    @IBOutlet var longLoading : NSTextField!
    @IBOutlet var reactivationMenuItem : NSMenuItem!
    @IBOutlet var statusItemMenuItem : NSMenuItem!
    @IBOutlet var toolbarTrenner : NSToolbarItem!
    @IBOutlet var toolbarSpacing : NSToolbarItem!
    @IBOutlet var toolbar : NSToolbar!
