added window title to template window