anchor.diff:  	void resetMessages([MouseEvent event])
   	{
   		unreadMessages = 0;
  -		String selector = "#channelName-"+channelName.replaceAll(" ", "_");
  +		String selector = "#label-"+channelName.replaceAll(" ", "_");
   		querySelector(selector).text = channelName;
   		
   		int totalUnread = 0;
  
positive.code: 					//need to replace spaces to make CSS selector work
  					String selector = "#tab-"+channelName.replaceAll(" ", "_");
  					if(!(querySelector(selector) as RadioButtonInputElement).checked)
  					{
  						unreadMessages++;
  						//find label related to this channel's tab and add the unread count to it
  						String selector = "#label-"+channelName.replaceAll(" ", "_");
  						querySelector(selector).innerHtml = '<span class="Counter">'+unreadMessages.toString()+'</span>' + " " + channelName;
  					}
  					
  					//don't add to history if the user said it
  
negative.code: 					return;
  			}
  			
  			int prevUnread = unreadMessages;
  			if(map["statusMessage"] == null && (map["message"] == " left." || map["message"] == " joined.") && chat.getJoinMessagesVisibility())
  				unreadMessages++;
  			else if(map["statusMessage"] == null && map["message"] != " left." && map["message"] != " joined.")
  				unreadMessages++;
  			
  			//mobile
  			if(map["username"] != chat.username && map["channel"] == channelName)
  			{
  				//if the conversation is not showing to the user, add an unread message to it
  				if(querySelector("#conversation-"+channelName.replaceAll(" ", "_")).style.zIndex != "1")
  				{
  					if(prevUnread != unreadMessages)
  						querySelector("#channelName-"+channelName.replaceAll(" ", "_")).innerHtml = channelName + " " + '<span class="Counter">'+unreadMessages.toString()+'</span>';
  				}
  				
  				int totalUnread = 0;
  