Projectkk2glider/testing issue 1610

Closes #1610 

I've done about 4 hours of testing on this branch. SD card working without any problems, audio also working perfect. 

I believe this should also be included in `master` as it correct an important bug: missing IO mutex. I will prepare another pull request for master.