Yes, I guess I was lucky there. My immediate instinct after black's weird 8...Qf6 is to establish what would be a double Knight outpost with 9.Nd5 though black could reply with g6
The two other moves I've in mind is to finish my (postponed) development with Bf4, which I'd prefer, or to castle, but that seems passive and needless at this time. As long as black is screwing around and I'm developing...
But it wasn't, it went 6. Nc3 a6
Pfren is right, you gave this line twice:
After 6.Nc3 there's no reason black can't take your knight on d4.