Lightning Framework Fake Pull Request

I made this PR to myself so that Ioan/Mark can add comments inline if desired.
Rather than selecting 1 best path, you could also spawn n (n<=k) threads and repair the top n paths. This is just an idea for the future.