needed to unlock the mutex for a soloud call, and couple warning fixes.