Refactored code handling/generation to use control flow graph natively rather than through flattened Glu assembly