Save the tempo to local storage.

Required MVC-ifying the app to keep things sort of sane.