Thanks. What I've come to realize is, as a couple my wife and I can set whatever terms we are comfortable with. The real x factor is the friend, and how she feels about everything.
It's encouraging to know you were able to have that with a friend and not have things get all crazy. My wife is really only worried about the emotional connection, which, while present, isn't overpowering.