         @createParticipantAvatar nickname, isOnline
 
 
-  decorateWatchedAvatars: (nickname) -> @participantAvatars[nickname].setClass 'watching'
+  decorateWatchedAvatars: (nickname) -> @participantAvatars[nickname]?.setClass 'watching'
 
-  decorateUnwatchedAvatars: (nickname) -> @participantAvatars[nickname].unsetClass 'watching'
+  decorateUnwatchedAvatars: (nickname) -> @participantAvatars[nickname]?.unsetClass 'watching'
 
 
   dimParticipantAvatar: (nickname) ->

        KD.utils.stopDOMEvent event
        appManager.tell 'IDE', 'showChat'

    @addSubView @avatars = new KDCustomHTMLView
      cssClass : 'avatars fr hidden'
      click    : (event) ->
        KD.utils.stopDOMEvent event
        appManager.tell 'IDE', 'showChat'


  showInformation: ->

    if avatar
      avatar.setClass   'offline'
      avatar.unsetClass 'online'


  removeParticipantAvatar: (nickname) -> @participantAvatars[nickname]?.destroy()


  addParticipantAvatar: (nickname) ->
