Tweaks to anim builder

Changed anim builder around so that it now holds some more basic
controller logic, and so that the games can decide whether or not to
delete a anim tree based on if its alive.