Fix potential thread issues between user input thread and audio thread, like when jamming a sample, toggling tuning tone, playing sample in the sample edtior, adjusting sample loop, etc.
6c56bc9