Corrected window title creation.