Clean the C-Lua stack regularly
Do not use thread-synchronization function
Add Lua erf function for when the C math library doesn't supply one
Handle mutex deallocation manually
Make garbage collector run more often to keep up with frequent buffer creation