handle exceptions thrown during loading and report them to the user
fixed a mixup in CSMTools::Tools constructor/destructor