added a sort of pre-parser to stop getting stuff from the message received (on the measurer side) when the number of closing braces equals the number of opening braces. Also added Sout's for the message.trim() to see if that by chance gets rid of the crazy characters. probably not.