setting window title. fixes #4