Inner render

Hi I added the cleanupAll and cleanupGently to this branch, and removed the deletion of the PageContext, but still getting an increasing Document count...