Thank you for telling his story. It sounds as though it was a relatively peaceful experience for him in the end because his cancer was so advanced before it was even discovered. Lung cancer is a nasty one too!
It was lovely that you were with him near the end- to talk to him & keep him calm with happy memories. When you are over the pain of his death it will be nice for you to think back on also.