Played it perfectly. You got a better hand to fold and got all-in as a huge favorite. Reload and win back some money!
BTW, did Queens really fold pre-flop? Did you see his cards? Otherwise I would be really hard pressed to believe it...
BTW2, if you *really* want to be a prick, Mr. Braniac technically mucked his live cards by showing them to the table before going all-in. At a B&M you could point it out and scoop the pot right there, but it's not a good thing to do to friends.