We humans are similar, we have our eyes (camera), this sensory data goes to our brain (cpu) and then it goes to our display (... consciousness?).
That's how I see it anyway
This might not correspond 100% to what philosophers mean, but it has the immense advantage of making consciousness a well defined concept, and even measurable.
So from this perspective, reflective awareness is what you define as consciousness, and it can be present to massively varying degrees, alongside direct awareness down to the neuron.
But, you are right that it is possible to write quite simple self modifying programs that would be conscious with this definition. However, having consciousness without intelligence can't be very useful.
Either All sensory endpoints and the viewer are one, the viewer IS the cumulative sensory endpoint, we'll name this consciousness.
OR the viewer is a separate "something", the viewer is separate from the sensory endpoint. And we'll name the sensory endpoint "consciousness" and the viewer the "soul".
Any other ideas?
Consider humans as biological automatons. Our brains are some sort of neural networked computer and the architecture of the neurons makes for, from a programmers point of view, some very advanced sort of "artificial" intelligence. From here there seems to be two possibilities: 1) That is it. Nothing else and their is no "being" experiencing what the brain processes or 2) something else, I think this idea is what we call...
Consciousness would be the idea that their is some sort of unifying sort of connectedness that allows the soul, ghost, being, etc to experience what is happening and in some people's viewpoints have an affect on what is happening (freewill in other words).
To me this definition seems terribly biased towards my point of view but I don't really know of any other way to define this.