Yeah, according to the engine my last few moves before the mate were trash. :D
I was in two minds about whether to leave that rook there for a bit as I was going to bring it up to help shift the pawn defending your knight but I thought I would have ended up losing the queen if I'd pulled on...