Turn off debug output.
Fixed a bug in the K-S tests.