Added chain resumption code.  Working on unit test.