small changes in useage information for sortMsgs and main