I think that you are placing severe limits on yourself by looking for two guns out of thousands available. And then seeking advice from people that don't know you or your needs. Most of the fun of gun ownership is buying and shooting a gun. Buy it, shoot it, shoot it some more and then if you like it, keep it and start looking for something else. If you like it a lot, look for another one or more of the same thing. If you don't like it, sell it and look for something else...so what if you loose a few dollars or make a few dollars, that isn't what it is about, it is about having some serious fun, shooting well and feeling secure about your self and your family.
9mm and .22 are great guns to have because they are relatively inexpensive to shoot, and the more you shoot, the better you get, the more guns you look at and buy, the more you shoot......So, look at it as a quest to be a better person, a better shot and a passion for serious fun....Above all, take the advice given freely here but keep in mind, that only you can decide which gun you are going to like and want to keep, which you are going to love and want more and which you are going to dislike and want to get rid of.
In time, when someone offers you a gun that you don't particularly want, or don't want at all, you will know the vlaue of it to be $40.... Giving $40 for a gun that functions as designed even though you don't want it will probably turn out to be a good investment, good trading material or a good gift.
Good luck in your quest!