Adding ability to clear error status, and updating error status more intelligently.