Attentional loops in vision systems