Added support for kicking of a task after the render surface is created.