Cleanup Controller
Remove unused functions and use setQuitOnLastWindowClosed as a slot for reacting to the tray icon setting change only.
Remove unused functions and use setQuitOnLastWindowClosed as a slot for reacting to the tray icon setting change only.