         return false
     }
 
-    // Added an async queue queue
-    let queueName = "com.moz.tabscreenshot.queue"
-    let tabScreenshotQueue = OperationQueue()
-
     var mimeType: String?
     var isEditing: Bool = false
     var currentFaviconUrl: URL?

    }

    func setScreenshot(_ screenshot: UIImage?) {
        tabScreenshotQueue.addOperation {
            guard let val = screenshot else { return }
            val.averageColor(completion: { color in
                DispatchQueue.main.async {
                    // check if screenshot is same color as background
                    guard let avgColor = color else { return }
                    let backgroundColor = LegacyThemeManager.instance.current.browser.background
                    guard !avgColor.isEqual(backgroundColor) else {
                        self.screenshot = nil
                        return
                    }
                    self.screenshot = screenshot
                }
            })
        }
    }
    
    func toggleChangeUserAgent() {

        }
        checkTabCount(failures: 0)
        #endif
    }

    func close() {
