Improved unit behavior tree, added basic objective framework.