Fix 0x8XY{6,E} and add a bunch of debug messages

Hopefully these will give me an insight of why the fuck I am segfaulting
all the time at UFO.