Use Qt methods for window title

Use QApplication::setApplicationDisplayName() and
QWidget::setWindowFilePath() instead of QWidget::setWindowTitle() to set
the title of the main window.
Add more documentation [ci skip]