better exception catching (catch(QString error) added)