Big refactor to remove remanents of AudioQueue code. Added safety locks when working with 64bit floats and ints across threads