fixed broken codename deletion
fixed broken tinymce css relative root handling
handle thead correctly in closed content