Fix pointer-dereference.
Fix array allocator.
A few more bugs.  Got it to actually generate usable bindings.