Title: Concentration and compactness of functionals on Sobolev spaces