Make a more uniform errors trapping mechanism. Put all writes to stderr into one place. Add a base object handling (also) errors.