remove C++/CLI vestiges, differentiate between fatal and nonfatal errors