Remove unnecessary lock
Remove PitchTracker# (not good enough)
Fix some resharper warnings and errors
Revert "Remove unnecessary lock"

This reverts commit c96fac02c2d9822c08c75ca2586ee833295f02aa.