Finish up command line invocation. Add signal handling to python.

Now, only python work remains. The glue is done.