MySQLModeler: added error handling and events