DOC error handling docs; misc improvements