clean up and document display.tpl