improvements to HtmlView. Beginning of support for literals and primitives