Fixed up the behavior trees.