Set window title.
* Thanks to http://twinklebeardev.blogspot.co.uk for the tutorial.