updated with a Title and unnecessary cleaning up of window