consistent scope for $debug
add missing scripts: phd, diplom (early templates)
icon .gif