Checkpoint: making background parsing more comprehensible.
Checkpoint: more clarification
Messed up last change.
More clarification
That's enough cleaning up of background code for now.