Fix runtime warning
Move menubar setup to MainWindow

Also use the alternative overload of addAction() that allows us to
specify the signal and the shortcut right away.
Rewrite settings saving/loading
Fix missing window icon on Linux
Add support for drag & drop
Virtual destructor
Change default compiler flags to "-;+ -(+"