Fixed tempo-setting bug when mid-song, added backend for on-beat tempo-setting