fixing movement detection to work. Blurring the threshold fixes a lot of
stuff.