Scoring changes and test cleanup

Fixed bug in Scorer where window length was not used to compute relative scores.

Made some tests a bit more stringent.

Improved comments.  Misc test cleanup.