Move the match-phase-on-seek calculation to the point of seek so it's not one buffer off.
Clean up ratecontrol initialization.