Added some (crude) mechanism for jitter removal.