Made window title reflect issue title

This pull-request fixes #2756