unnecessary declaration of callback function deleted
buffer declaration was not needed. Deleted
Start movement detection.

This version lacks some features, but assembly most of the
code needed for move detection.
Many frames are still lost