Imagination and its pathologies