Get either M&P--they are your best bet for value and function in this state. Will need a trigger job, but that's it.
For what it's worth, I have both a Glock 19 4th Gen and an M&P9c and I would take the M&P9c over the Glock any day. I love the platform. I had a trigger job from Lou at Businessendcustoms.com and it made a HUGE difference. It's a smaller, lighter gun than the Glock 19, but I swear the recoil felt is less.
M&P's are nicer guns than Glocks in many respects. I think they have better ergos, but I guess that's just what you're accustomed to really. The real advantages Glocks have is the ability to customize them (though M&P customization market is growing), how simple they are to take apart, and the "alleged" availability of pre-ban high-capacity magazines (but good luck finding any; I can't seem to).
Go somewhere and shoot them and see what you like.