removeEventHandler(element2, eventName) {
      Logger.debug(`EventManager: Removing event handler for ${eventName} on`, element2);
      if (this.eventHandlers.has(element2)) {
        const elementHandlers = this.eventHandlers.get(element2);
        if (elementHandlers.has(eventName)) {
          const handler = elementHandlers.get(eventName);
          element2.removeEventListener(eventName, handler);
          elementHandlers.delete(eventName);
          if (elementHandlers.size === 0) {
            this.eventHandlers.delete(element2);
          }
        }
      }
    }
Removes the event processor from the DOM element
@param {HTMLElement} element - DOM element
@param {string} eventName - Event name (without @)