Add .Html property to access underlying html, improve prettyprinting (closes #597)