Got most of the planner test programs to compile. Made a lot of little changes to fix compilation issues. Compiles with Clang.