HTML preparation.
Various fixes.