added comments around message scoring and the writeOne method in
MessageThreadWriter
removed dead code