Cognition profiles

Noticed yesterday that this has started working at some point, no more
black screen.
Merge pull request #86 from Parsnip/master

Cognition profiles