Bug fixes and refactoring for back end
Merge branch 'master' of https://github.com/MobileMusic/MobileAudioWorkstation.git