One gun for all of those purposes? Yikes.
If you could swing two, I'd go with the Beretta for nightstand duty (and range use) and the VP9 for carry (and range use). Both are top-notch in build quality, reliability, accuracy, and so forth. There's not a combat pistol on the planet that has achieved the documented reliability under military-supervised testing that the 92FS/M9 has (21,500 average MRBF), which is a pretty big plus in its favor for home defense in my book. Some other makers, like CZ, boast of documented reliability testing for their pistols that is not even 10% of that figure. (I'm not talking about mud and sand testing and the like, for which there are no standardized comparisons. I'm talking about random, standardized testing of sample pistols from a large production batch in the ballistics lab, which is the only kind of testing that affords easy comparisons.) The VP9 would be easier to conceal and quite a bit more comfortable to carry. I'm normally averse to being an early adopter of anything, but the VP9 does not appear to have had any troubles. The M&P is also a very good option, if a step down in build quality (though it's just fine in that regard), if you feel better about going with something that has had bugs identified and worked out over several years. The trigger is not very good, but you can make it very nice with a simple APEX trigger kit.
If one gun has to do all things, I'd go with the VP9, out of the ones you've listed. (My personal "list," as in what I actually use, is this: 92FS for nightstand/home defense duty, Walther PPS for CCW.) People do carry the 92, but it's not exactly ideal for that role for most people, given its weight and dimensions.
I've just told you what I would do. As others have said, and as you've agreed, personal fit is a very important factor. Some people just shoot certain guns more poorly than others for a variety of reasons. Try to rent/shoot all of these and more, if you haven't already.