Minor cleanups

IP changes will make it possible to make stuff like "randtable[i][((uint8_t *)&source)[i]]" be changed into something more readable.

I also changed the debugging stuff macro to output in different order.