The hard truth why you weren't PCSd to a job outside of the wing is that others were being pushed above you. I know that sucks to hear, but that's the truth and someone in a leadership posistion didn't have the guts to tell you. Ten years ago it might have been different and you would have maybe been able to squeak a job into a NAF or DRU (i.e. Safety Center, AFOTEC, etc), but with the rated manning the way it is, only so many non school guys are going to be sent to staff.
As for the Wing job, unfortunately I'm not suprised. I was a Wing DS and sat on several wing strat meetings with the CV and all the Group CCs (I was the one fighting for the folks in the WSA). What I learned is that there were two kind of rated guys sent to the wing: One with an above average record who was being sent by the OG to expand their resume (usually a late 2nd assignment senior Capt or brand new Major)...the other kind of person was an average 3rd assignment Major that got brought up to just do a different job. And when it came to the wing strats, if I fought for a wing rated guy that the OG didn't already have as one of his top 1/3 guys, he would question and fight me why that guy should be strat'd at the wing. And here I am, an O-5, trying to fight for who I believe deserves it...but ultimately, we're all owned by the OG (yes, even the guys in coded wing safety billets). Now getting one of the WSA rated guys a decent strat who the OG knew/thought a lot of was easy...then it was just a shell game of why he should be #7 vs #8 out of all the base FGOs.
After my first round of doing this, I told the Sq CCs to not believethat pushing an average O-4 in the Ops Group for a Wing job is somehow going to magically help them out...rarely it did.
In closing, it sucks you didn't make it. You come across as intelligent, hard working, and passionate and I imagine you were on the cusp of making it. As others have said, the board results do not define you as an officer or WSO, and most importantly as a human being. I wish you the best and if there's any other info I can provide you offline then shoot me a PM.