Flawed but Still Winning Game
Ok...I'm a little new and not so good, but ok.
First, correcting your analysis - if he did 25.Rd1, then you let him attack your king, that fails to 26...Bc8, giving a longer game
I've added annotations in the blue/red text.

...if he did 25.Rd1, then you let him attack your king, that fails to 26...Bc8, giving a longer game
Thanks for the correction in my analysis. I didn't notice that 26. Rd8 wouldn't have been an instant mate; nonetheless, it would have been a huge set back. I'm glad I didn't let it happen.
I can't see your game board, however.
I just realized that 17. ...Bc6++ would have been a double check, forcing the king to move and give up castling. I wonder where the game would have gone from there? Would that have been a better route?
Oh for crying out loud, why ain't that working. Ok, I'll see if I can repost it.
And this is the game, with more added notation - I didn't have much time on my first analysis, and since I hibernate my laptop, my copied pgn line is still in my clipboard. YEY. And ApolloXI, this annotated game covers your point, if you're looking at the double-check. When I first looked at it, I saw the double check. However, your move was prob the best move.
Ah forgot my afterthought - that game, you played solidly. Your strong centre was solid and supported your knights well. However, for you and all that read this topic - this game demonstrates the danger of early development of the Queen. White would've been immensely better with 4.Qd1 than any other moves, IMO.