Clean up procedure definition passing
Generate code for functional function definitions as well during Eval drawing