I am so sad for the loss of your beloved pet plus the depression.
Thyroid problems can lead to all sorts of hassles, I know I was born WITHOUT one and its extremely rare and has been a hardship all my life and been a major contributing factor to my bipolar. Good thing you're having that checked out.
Smart move also in moving up your T appointment, sounds like you've still got your head together enough to make some good decisions.
Good luck and hope you make it out this soon!