             log.debug("Show MainWindow. (\(liveProgramId))")
             wc.showWindow(self)
         }
-    }
-
-    func logWindows() {
-        mainWindowControllers
-            .compactMap { $0 }
-            .forEach {
-                guard let live = $0.live, let window = $0.window else { return }
-                log.debug("lv:\(live.liveProgramId), order:\(window.orderedIndex), key:\(window.isKeyWindow), main:\(window.isMainWindow), onActiveSpace:\(window.isOnActiveSpace), visible:\(window.isVisible)")
-            }
     }
 }
 

// MARK: BrowserUrlObserverDelegate Methods
extension AppDelegate: BrowserUrlObserverDelegate {
    func browserUrlObserver(_ browserUrlObserver: BrowserUrlObserverType, didGetUrl liveUrl: URL) {
        log.debug(liveUrl)
        logWindows()
        guard let liveProgramId = liveUrl.absoluteString.extractLiveProgramId() else {
            return
        }

            return
        }
        // 2. Is window on active space?
        let isOnActiveSpace = mainWindowControllers
            .map { $0.window }
            .compactMap { $0 }
            .sorted { $0.orderedIndex < $1.orderedIndex }
            .first?
            .isOnActiveSpace ?? false
        guard isOnActiveSpace else {
            log.debug("MainWindow is NOT on active space. Skip. (\(liveProgramId))")
            return
        }
        // 3. Is window other than MainWindow presenting?
