Some work on the CLI version of OpenCOR (#199).