Can now use multiple non-unique chains in the beginning. Various fixes. Paired mapping testing.