Bug fixes. Added Transition behaviors.