Here's my first big hit. I have a few questions besides the good ol' "did i play this right"

1. if i'm winning at a table, at what point should i quit? i heard somewhere that it's a good idea to leave around 3 buyins deep.

Anyways, here's the hand. My opponent was something like 13/8/5. Can someone explain what the 5 means?

PokerStars No-Limit Hold'em, $0.02 BB (9 handed) Poker-Stars Converter Tool from FlopTurnRiver.com (Format: FlopTurnRiver)

MP2 ($2)
MP3 ($5.15)
CO ($4.42)
Button ($2.69)
SB ($2.80)
BB ($1.98)
UTG ($10.08)
UTG+1 ($0.99)
Hero ($2.91)

Preflop: Hero is MP1 with Q, Q.
UTG raises to $0.1, 1 fold, Hero raises to $0.3, 2 folds, CO calls $0.30, 3 folds, UTG calls $0.20.

Flop: ($0.93) 7, 4, 5 (3 players)
UTG checks, Hero bets $0.75, CO calls $0.75, UTG raises to $4.2, Hero calls $1.86 (All-In), CO calls $3.37 (All-In).

Turn: ($11.86) 2 (3 players, 2 all-in)

River: ($11.86) 4 (3 players, 2 all-in)

Final Pot: $11.78

Results in white below:
UTG has 7s 7d (full house, sevens full of fours).
Hero has Qc Qs (two pair, queens and fours).
CO doesn't show.
Outcome: UTG wins $11.85.