Updated mesh loader to handle multiple submeshes.