Rewrite prerendering and rendering
Allow calling iterator with only callback
Fix iterator bugs and finish test updates