Remove the VP8x header, use bitmasks and some other code fixes.