Rewrite everything to use BitStream2, but still missing a putLong/getLong
Tests and fixes around sign-extension issues