   func applicationDidFinishLaunching(_: Notification) {
     self.launching = false
 
-    updaterController.startUpdater()
+    self.updaterController.startUpdater()
 
     #if DEBUG
       NSApp.mainMenu?.items.first { $0.identifier == debugMenuItemIdentifier }?.isHidden = false


extension AppDelegate {
  @IBAction func checkForUpdates(_ sender: Any?) {
    updaterController.checkForUpdates(sender)
  }

  @IBAction func newDocument(_: Any?) {


    self.openNewMainWindowOnLaunch = initialAppState.openNewMainWindowOnLaunch
    self.openNewMainWindowOnReactivation = initialAppState.openNewMainWindowOnReactivation

    self.updaterDelegate.useSnapshotChannel = initialAppState.useSnapshotUpdate
    self.updaterController = SPUStandardUpdaterController(
      startingUpdater: false,
      updaterDelegate: self.updaterDelegate,
      userDriverDelegate: nil
    )

    super.init()

