QSV: lookahead and VBV improvements.