I'm with frank in that how you're describing this is a litte bit ambiguous, but a charitable reading of this is that AP turned kind of stalkery, freaked your wife out, she was afraid to tell you, then proceeded to try and handle it on her own on the down-low. Perhaps it got even stickier so she came clean and told you what's been happening?
In this scenario she may not necessarily have broken NC on her own, but she didn't tell you about Mr freak-face probably out of fear that you might not take it well, and understandably so. Through her actions she's now exposed you to a potential psycho who can't take no for an answer.
That's not good, of course, but it might mean she wasn't trying to continue seeing him behind your back. You'll have to clarify if frank or I are closer to what happened because it is a little hard to tell from your post which scenario it is, and it makes a difference.
Either way, she should have just told you right off the bat.
As far as whether or not she had serious feelings for the guy goes we can't infer that from his actions. People can get stalkery from a smile or without even meeting someone. Look at Keira Knightley and Sandra Bullock. Both had potentially dangerous stalkers who were complete strangers. So that doesn't really tell us much.
That said, even if your wife did catch serious feelings for the guy would it change what you want to do? I can understand why that might make a difference for you, but is that the line for you? I had to read some pretty painful things my wife said about her affair partner. I'm still here and he's in the rear view mirror. He's less than dirt to her now and she hates him.
My wife thought she was "in love," but she sure got over it pretty fast and she realizes now it wasn't what she thought it was. He's trash and she knows it. I suspect your wife realizes that now, too.
I think your biggest issue now aside from AP, assuming I read your post right, is that your wife withheld what was going on with Mr stalker from you. You'll have to have a serious talk with her about that and decide if that's something you're willing to forgive.
As far Mr stalker goes, don't hold back and use every legal protection at your disposal. This is no joke, but I think you realize that.
You said he showed up at the courthouse with a lawyer and a full restraining order wasn't filed? Why not? What kind of "defense" could he have had that would prevent your wife from filing a restraining order?