Move wait-methods into Timing class.
Add handling of keyboard control for animations.