     console.log 'Plugmixer.initialize'
     Listener.initializeWindowMessage()
     User.initialize()
-    Listener.initializeAPI()
 
     if TRACKING_CODE?
       ga 'create', TRACKING_CODE, 'auto', name: 'plugmixer'


      API.on API.PLAYLIST_ACTIVATE, (playlist) ->
        API.chatLog "Next playing from #{playlist.name}"


  ###

      @save()

    @changedTo: (newRoom) ->
      return if !@id?
      @id = newRoom.id
      Storage.load 'room', idToUse(User.lastPlayedIn)

