Anticipatory grief is the grief you feel before someone dies. It's real, it's valid, and it's one of the loneliest kinds of loss because almost nobody around you recognizes it as grief.
You laughed at the funeral. You are not a monster. Dark humor and grief have a longer, more legitimate relationship than the condolence card industry would like you to believe.