Finally fixed that fucking endian jump bug. Did a bunch of flag stuff,
added more test cases, the usual.