Use QWidget instead of MainWindow.
Cleanup in CopyQPasteboardMime.

Remove some duplicate code, and don't use QStringList::contains() to
check for ignored mimes/utis.