Optimization of note detection.
Merge branch 'master' of https://github.com/robinvierich/fydp