Fix compiler warning.
Rename all 'dest' to target. Connect signals and slots in MainWindow contractor using the new syntax rather than in the .ui file.