Python3 bugfixes; fixes to the QMetaType casting for QSettings config management.