Improving quality of tracker

Tuning parameters, fixing the code, inspecting the implementation. At
this moment, it looks more stable and a bit more robust than the
previous attempt. To be continued...