PLUGIN+API: Improved HTML output generation.