             break
 
         default:
-            // Opacity menu item have opacity as tag value
-            if menuItem.tag >= 10 {
-                if let hwc = NSApp.keyWindow?.windowController {
-                    menuItem.state = (menuItem.tag == (hwc as! HeliumPanelController).settings.opacityPercentage.value ? NSOnState : NSOffState)
-                    menuItem.target = hwc
-                }
-                else
-                {
-                    menuItem.state = (menuItem.tag == UserSettings.opacityPercentage.value ? NSOnState : NSOffState)
-                    menuItem.target = self
-                }
-            }
-            break
-        }
-         return true;
+            break
+        }
+        Swift.print(String(format: "app %@ %@", menuItem.title, menuItem.state == NSOnState ? "on" : "off"))
+        return true;
     }
 
     //  MARK:- Lifecyle
 
     func applicationShouldOpenUntitledFile(_ sender: NSApplication) -> Bool {
-        return true
+        return true//NSApp.windows.count == 0
     }
 
     let toHMS = hmsTransformer()

            andEventID: AEEventID(kAEGetURL)
        )

        //    So they can interact everywhere with us without focus
        appStatusItem.image = NSImage.init(named: "statusIcon")
        appStatusItem.menu = appMenu

        //  Initialize our h:m:s transformer
        ValueTransformer.setValueTransformer(toHMS, forName: NSValueTransformerName(rawValue: "hmsTransformer"))
        
        // Maintain a history of titles
        NotificationCenter.default.addObserver(
            self,
            selector: #selector(AppDelegate.didUpdateTitle(_:)),
            name: NSNotification.Name(rawValue: "HeliumNewURL"),
            object: nil)
    }

        return resDict
    }

    @objc fileprivate func haveNewTitle(_ notification: Notification) {
        if let itemURL = notification.object as? URL {
            let item: PlayItem = PlayItem.init()
            var fileURL: URL? = nil
