Added a dirty check whether the position changed in the last 3 seconds.
Validated dirty check. Need to do something about multithreading as the 
sleep causes some issues.