Tweak the html.
Code cleanup.
Added docs.