Added function for setting window title
Merges