added the ability to pull the correct formated message out of the text box