anchor.diff:  				setJoinMessagesVisibility(false);
   			
   			(querySelector("#ShowJoinMessages") as CheckboxInputElement).checked = getJoinMessagesVisibility();
  +		}
  +		if(localStorage["playMentionSound"] != null)
  +		{
  +			if(localStorage["playMentionSound"] == "true")
  +				setPlayMentionSound(true);
  +			else
  +				setPlayMentionSound(false);
  +			
  +			(querySelector("#PlayMentionSound") as CheckboxInputElement).checked = getPlayMentionSound();
   		}
   		
   		addChatTab("Global Chat", true);
  
positive.code: 			CheckboxInputElement checkbox = event.target as CheckboxInputElement;
  			if(checkbox.id == "ShowJoinMessages")
  				setJoinMessagesVisibility(checkbox.checked);
  		});
  	
  		//setup saved variables
  
negative.code: part of coUclient;
  //TODO: should we limit chat history so that it doesn't go on forever?
  
  //TODO: change error message to be an overlay over the chat pane
  
  class Chat
  {
  