Really sorry to hear the news. It's terrible when things like this happen and you are absolutely right it puts all things into perspective and makes you realise what is really important in this life. Family and friends, nothing else really matters in comparison.
Don't batter yourself about the past, it's a natural thing we all do under these circumstances, just focus on the now and your dad. My thoughts are with you at this difficult time.
Will.