You're right Greentea. Usually a 'professional,' such as an employer or supervisor who behaves badly (like how you were treated!) earns they're payback. I know some professionals can hide behind their superiority and superficial charm but hard work, talent, and integrity pay off! I think you've shown this!
I am sad you were mistreated at that workplace but maybe, in the long-term, it's for the best since now you CAN get that better job with an employer who deserves you, based upon your merit. You'll do just fine!
<If you're asked for professional references you could say you have an entire planet with over 21,000 members >
_________________
The ones who say “You can’t” and “You won’t” are probably the ones scared that you will. - Unknown