possibly when black played bg4 you could of played h3 becasue he was forking your knight and this woul dof either forced the bishop away or you swap a knight for a bishop.
Also on 17. nxd4 you were lucky to get away with it...
other than that a fairly good game against a good player
I finished this game a while ago, but I haven't gotten to posting it until now. What did I do wrong?