1.  Tidied up HTML tempting.  2.  Factored out field sets to sub-package.  3.  Simplified HTML encoder.