Set up cl context and textures in main run procedure