Corrected two stupid bugs.
Started update of test suite.
Released under New BSD license, and added support message from YourKit (thanks!).