The 2340 and the 2022 are both great guns. I would lean toward the 2022 only because the rail on the 2340 is proprietary, as opposed to the 2022s which is the same as the Glock. If the rail isn't an issue, then you have two fine choices.
Do you absolutely have to have polymer? If not, take a look at the P229 in .40. Possibly the most accurate .40 I've ever shot.
The best defense is a good offense, and I'm really offensive.
SFC, U.S. Army, Retired 1971 - 1992
S&W Club #92, Snubbie club #92, The 21 Club #92