Assessed a problem with debugging that causes the mainwindowtitle to change.