Fixed bug with status message

Fixed a bug I was having with upornot not setting the title of the
window correctly to reflect the status of the connection.