Main commit. Clean up node stuff. Tets now pass with #define COPY_PARSE_PLAN_TREES.