Update 'tictactoe' example.
Improve error messages around definitions.

Closes #71