rate limit messages
smooth out jerky video
calibration code