Some cleanup and error tests
Clean up error state

Instead of a state, it's now a flag that can be used for UI, but the
semantics of an errored record is just `loading` for records in the
process of being found or `uncommitted` for records that failed to save.