use string.char and string.byte for simple "pack" stuff.

has blown away lua stack with big frames before.
xor in chunks to prevent stack overflow
fix big frames issue and test
cleanup print