This study, just out, is interesting. Fruit flies in complete sensory deprivation do not fly randomly. They generate interesting, non-linear and structured, yet unpredictable, behavior. Great stuff. An autopoeitic individual above minimal complexity will have internal dynamics which modulate the flow from sensory to motor sides. In us this is the whole brain, though any small number of interneurons ought to do. This mediation allows decoupling from the immediate environmental dynamics and allows us to both live in the past and the future. Fruit flies too. Their P-worlds have some minimal depth.
Unfortunatly, the silly scientists claim that they have discovered a rudimentary form of free will in flies. Aargh. But hang onto the study. The modulation, through interneurons, of the S-M linkage is really important, as is the fanciful notion of depth for P-worlds.