Ah, I'm a little bit silly.  I was forgetting to copy the non-pointers
in the behavior tree, so they were unitialized.  Caused some weird errors.
On the plus side, I just need to check with valgrind, but I think we're mostly
memory error free.