Bug fixes regarding saving; added tempo control.