Add error check for illegal connectivity.
Prevent errors when closing GUI.
Add final state to all animations.