Reset properly when you move to the next puzzle.

Also remove some generated files.
Still part of issue #36.