Fixes to the generator, should be outputting proper CL programs (structs still buggy).