Bugfixes: Tested error messages for preprocessing functions.
Integrated serialization of QTabWidget.