         settings.opacityPercentage.value = sender.tag
         willUpdateAlpha()
     }
-
+    
     @IBAction func translucencyPress(_ sender: NSMenuItem) {
         settings.translucencyPreference.value = HeliumPanelController.TranslucencyPreference(rawValue: sender.tag)!
         translucencyPreference = settings.translucencyPreference.value
         willUpdateTranslucency()
     }
-
+    
     override func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
         switch menuItem.title {
         case "Preferences":

        // Moved later, called by view, when document is available
        setFloatOverFullScreenApps()
        
        willUpdateTitleBar()
        
        willUpdateTranslucency()
        

        let webView = self.window?.contentView?.subviews.first as! MyWebView
        let delegate = webView.navigationDelegate as! NSObject
        panel.ignoresMouseEvents = true
        
        //  Halt anything in progress
        (contentViewController as! WebViewController).webView.loadHTMLString("Yoink://", baseURL: nil)
        
        // Wind down all observations
        webView.removeObserver(delegate, forKeyPath: "estimatedProgress")
        NotificationCenter.default.removeObserver(delegate)
