Cleaned up test variable names

added additional test to inputbuffertest to test -1 bytes

clarified code in computeMessageScore in MessageThreadWriter

added/cleaned up log messages in MessagethreadWriter