more work on the renderbatch system