htdocs/archive: minor fixes and cleanup