Fixing a bunch of valgrind errors and reworking globals.
Generating a lot of code!
Still a few missing instructions/variants and other issues, but a big and
valid LLVM module is being generated.