The role of high-dimensional diffusive search, stabilization, and frustration in protein folding