Move quit callback to mainwindow.
Remove code already used in mainwindow.
Remove unused code.
Move imports to the top.
Remove unused code and move imports to the top.
Remove unused variables and reorder arg parsing.
Use a more significative name for logger helper.
Merge remote-tracking branch 'refs/remotes/ivan/feature/cleanup-app-mainwindow' into develop