Slightly improved Render, better logging.