Various improvements to the html helper and some widgets