Graph layout improvements. Bug fixes for ShowHtml.