Cleaning up some code.
Hitting play doesn't cause a concurrency issue anymore.
Fixed secret crashing error
Tempo calculation implemented.