Correction of the function getOppositName.
bugfix in the initialization in MainWindow.