Why not follow your own advice with 38...Bxg2+ 39. Kxg2 Qf2+ 40. Kh3 Qh2#?
it was a 1 min blitz game and it wasn't me playing - just thought it was a neat ending