some docstring changes, added (old)result_html from pb