Prepare audio APIs for threading
Kinda got Audio threading half working
Omg, audio threading works
Triple buffer rotation, fix some Lua memory bugs