Better code.
Cleaned BehaviorTree code.