         window.makeKeyAndOrderFront(sender)
     }
     
-    @IBAction func newWindow(_ sender: AnyObject) {
-        // like makeWindowControllers() but offset from window
-        let storyboard = NSStoryboard(name: "Main", bundle: nil)
-        let controller = storyboard.instantiateController(withIdentifier: "HeliumController") as! NSWindowController
-        let window : NSPanel = controller.window as! NSPanel as NSPanel
-        
-        //  Close down any observations before closure
-        window.delegate = controller as? NSWindowDelegate
-        self.addWindowController(controller)
-        window.offsetFromKeyWindow()
-        self.settings.rect.value = window.frame
-        window.makeKeyAndOrderFront(sender)
-    }
-
 }

    override func writeSafely(to url: URL, ofType typeName: String, for saveOperation: NSSaveOperationType) throws {
        do {
            try self.write(to: url, ofType: typeName)
            Swift.print("writeSafely: \(url.absoluteString)")
        } catch let error {
            NSApp.presentError(error)
        }


        default:
            //  Record url and type, caller will load via notification

            do {
                self.makeWindowControllers()
                NSDocumentController.shared().addDocument(self)

                if let hwc = self.windowControllers.first {
                    hwc.window?.orderFront(self)
                    (hwc.contentViewController as! WebViewController).loadURL(url: url)
                }
                self.fileURL = url
                self.fileType = url.pathExtension
                break
            }
        }
    }
    
    override func read(from url: URL, ofType typeName: String) throws {
        switch typeName {
