Allow selecting a patch for review through the context menu
Automatically determine the depth of the patch. This revives LocalPatchSource and makes it functional.