removed unused imports, local variables, and private methods (still there, just commented out).
clears up a huge set of warnings in Eclipse so that you can see the wood for the trees!
added provisional message reader for specifying expected messages in a separate file.