Fixes to totem, updated in-html code.