Added Transitions and basic graphical support for tansitions.