Multithreading fixes, also rendering straight to a mesh now