 
   public func updateBackground(_ bg: Int32) {
     DispatchUtils.gui {
-      NSLog("\(#function)")
       self.grid.background = UInt32(bitPattern: bg)
       self.layer?.backgroundColor = ColorUtils.colorIgnoringAlpha(self.grid.background).cgColor
 //      NSLog("\(ColorUtils.colorIgnoringAlpha(UInt32(bg)))")

    NSFontAttributeName: NSFont.systemFont(ofSize: 18),
    NSForegroundColorAttributeName: NSColor.darkGray
  ]

  public init(frame rect: NSRect, config: Config) {
    self.drawer = TextDrawer(font: self._font)

  }

  public func updateSpecial(_ sp: Int32) {
    NSLog("\(Thread.current)")
    DispatchUtils.gui {
      self.grid.special = UInt32(bitPattern: sp)
    }
