First and foremost, I'm sorry to hear you had a bad experience that could possibly have ruined diving for you. And with a dive professional at that. Let me give you a couple of things to consider:
First off, okay, you have a near out of air situation, but you handled it underwater as per your training and although it may have been a little uncontrolled because of your panicked state, you made your ascent with a regulator in your mouth and unless there's other information you're not sharing you didn't experience any signs of DCS afterward. I didn't have an OOA situation, but my first dive in Cozumel I surfaced before I meant to without a safety stop. Safety stops are recommended guidelines....not set in stone. It's not something you need to get into a habit of doing but if you happen to miss your safety stop for whatever reason, it's not anything to let ruin diving for you. You just have a little longer to spend on your surface interval to expend the nitrogen built up in your system. So if you take a step back and really look at what happened, were you really in any imminent danger when you surfaced? If you didn't experience any signs of DCS, then I'd say that answer is probably a No.
Second, yes your DM should've paid closer attention to your signals. But what you don't understand if you're not a DM is that he/she probably knew what was going on and just didn't realize your consumption was so increased, likely exasperated by your panicked state. Shame on him/her but us DM's are still only human and we make mistakes, too. There is a certain amount of pressure that comes with being a DM and leading other divers, especially in unfamiliar territory. It could be that the DM was familiar with the site but not yet experienced on actually being a DM and leading other divers around. It can be a very daunting task until you get used to it. So while yes the DM can take some of the blame for not paying better attention to his/her divers, YOU are the diver and YOU are responsible for yourself underwater.