IE fixes, misc html content bug fixes