Fix segfault.
Start implementing a control language that is read from stdin.

That means the test can be scripted.