def root(element, element_id=nil, &block)
      if element && element.is_a?(NSString)
        element = NSMenu.alloc.initWithTitle(element)
      end
      super(element, element_id, &block)
    end
def root(element, element_id=nil, &block)
      if element && element.is_a?(NSString)
        element = NSMenu.alloc.initWithTitle(element)
      end
      super(element, element_id, &block)
    end
override root to allow a menu title for the top level menu