-- Well, the first problem is that the boxes are not installed correctly. They are
-- not supposed to be flush with the stud, they are supposed to stick out 1/2" and
-- be flush with the drywall. The mounting strap on the receptacles should rest on
-- the box and the drywall at the same time.
Paraphrasing Sam Torrance, and said with my best Scottish accent, "Useful post that, useful."