reformat
Fixed a number of Python code generation problems
commented out debug output
generated code update