         return max(Int(sMaxConcurrentOperations) ?? 1, 1)
     }
     
-    fileprivate func updateRunState() {
+    fileprivate func updateRunState(withDockTitle: Bool = true) {
         let count = operations.count
         let run = count > 0
         buttonCancel.isHidden = !run

            stopTimer()
            progressIndicator.stopAnimation(self)
        }
        NSApplication.shared.dockTile.badgeLabel = (run || NSApplication.shared.isActive) ? "" : "1"
    }
    
    fileprivate func showFilePaths(_ paths: [String]?, label: NSTextField?) {

    }
    
    func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
        showDockTitleBadge("")
        return true
    }
    
