remember errors

Part of the ongoing effort to remove global.errors.