increase max tempo to 999, add extra conditionals to prevent short buzzing activation for invalid tempos
Merge branch 'master' into gh-pages