content: Consciousness just means you have a recursive self-model onto which you map your perceptions. I think it's pretty plausible that (like you say) it first evolved as a kind of condition monitoring system to make sure what the rest of the brain is doing makes sense. I think any self-modifying information processing system needs some form of this feedback loop to function.