Cleaned up getplan & compiles

Still need to test out the map remove and the action plan, but it goes
X hunting alright. I am still getting some A* out of sync errors so I
will look into that first.