Finish the Inst library and port clients to it
Add some command line flags to assist in debugging