     @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
 			

			if oneAccount.accountID == preferredAccountID {
				accountPopupButton.select(oneMenuItem)
			}
			
		}
	}
	
	// MARK: Private
	
	private func addFolderIfNeeded() {
		guard let menuItem = accountPopupButton.selectedItem else {
			return
		}
		
		let account = menuItem.representedObject as! Account
		AppDefaults.addFolderAccountID = account.accountID
		
		let folderName = self.folderNameTextField.stringValue
		if folderName.isEmpty {
			return
		}
		
		account.ensureFolder(with: folderName)
	}
	
	// MARK: Actions
	
    @IBAction func cancel(_ sender: Any?) {
		hostWindow!.endSheet(window!, returnCode: NSApplication.ModalResponse.cancel)
    }
    
    @IBAction func addFolder(_ sender: Any?) {
		hostWindow!.endSheet(window!, returnCode: NSApplication.ModalResponse.OK)
    }
}

// MARK: Text Field Delegate

extension AddFolderWindowController: NSTextFieldDelegate {


		}
    }

	// MARK: - NSViewController
	
	override func windowDidLoad() {
		let preferredAccountID = AppDefaults.addFolderAccountID
