Track recovery now works

Used to just be through matching, now works through flow too for higher
accuracy. Also fixed some timestamp bugs, added some minor fixes, and
got adaptiveWindow and velocityPrediction working.