Fixing the mesh creation with and without threads initialization
Adding more threads support to the renderer