fixed some bugs in the connectPaths kernel.  still not all the way there.