added redundancy check userlist; renamed vars/fcns

added utility to help maintain reliability of the users list by removing
entries with multiplicity greater than one; improved readability of
source code by cleaning up variable names and function definitions;
improved recovery of corrupted chat messages