Support Kp values over 1000.

Fixes Issue #2.

Fix logging interval.