 class IDE.StatusBarAvatarView extends AvatarView
 
   INTENT_DELAY = 177
+  MENU         = null
 
   constructor: (options = {}, data) ->
 


      { watchMap, sessionHost } = collaborationData

      isWatching  = watchMap.indexOf(nickname) > -1
      title       = if isWatching then 'Unwatch' else 'Watch'
      menuWidth   = 172

      menuItems[title] =
        title    : title
        callback : (item, e) => @setWatchState isWatching, nickname, item

      if sessionHost is KD.nick()
        menuItems.Kick =
          title     : 'Kick'
          callback  : =>
            @menu?.destroy()
            KD.singletons.appManager.tell 'IDE', 'kickParticipant', @getData()

      @menu = new KDContextMenu
        cssClass    : 'dark statusbar-files'
        event       : event
        delegate    : this



      KD.utils.wait 200, =>
        h = MENU.getHeight()
        w = MENU.getWidth()
        top  = -h
        left = @getWidth()/2 - w/2
        MENU.setOption 'offset', {left, top}
        MENU.positionContextMenu()

      MENU.once 'KDObjectWillBeDestroyed', => MENU = null


  setWatchState: (isWatching, nickname, item) ->
