showing current template in doc properties. header and nav fixes.