python/track.py: windowed tracking algorithm.

Also, working on some anaylsis.