Explorations in the dynamics of cognition