     @IBOutlet var folderNameTextField: NSTextField!
     @IBOutlet var accountPopupButton: NSPopUpButton!
 	@IBOutlet var addFolderButton: NSButton!
-    var hostWindow: NSWindow?
+	private var hostWindow: NSWindow?
 
 	convenience init() {
-
 		self.init(windowNibName: NSNib.Name("AddFolderSheet"))
 	}
 
-    // MARK: API
+    // MARK: - API
     
     func runSheetOnWindow(_ w: NSWindow) {
-
 		hostWindow = w
 		hostWindow!.beginSheet(window!) { (returnCode: NSApplication.ModalResponse) -> Void in
 			

		addFolderButton.isEnabled = !folderName.isEmpty
	}
}

			if oneAccount.accountID == preferredAccountID {
				accountPopupButton.select(oneMenuItem)
			}
		}
	}
	
	// MARK: - Actions
	
    @IBAction func cancel(_ sender: Any?) {
		hostWindow!.endSheet(window!, returnCode: .cancel)
    }
    
    @IBAction func addFolder(_ sender: Any?) {
		hostWindow!.endSheet(window!, returnCode: .OK)
    }
}

// MARK: - Text Field Delegate

extension AddFolderWindowController: NSTextFieldDelegate {

