Changed a few constants.
Clean up.
Implemented sliding window for interpolation buffering.