misc tweaks in HTML and DOM outputs.