Merge branch 'master' into sync-insta-rate
Fix a problem with beat percentage calculation being off
Merge branch 'sync-insta-rate' into sync-half-double
clean up a few debug prints and comments