Make color coding better reflect the state of documents.