Allow window title to be set. issue #42