To open a new window, add the following code somewhere where you can keep a reference to the new window (I.E., the app delegate).
Swift
let storyboard:NSStoryboard = NSStoryboard(name: "Main", bundle: nil)
guard let controller:NSWindowController = storyboard.instantiateControllerWithIde...