first pass at synchronizing threads, using RemoteRef and semaphore
basic audio callback synchronization is working