I'm considering throwing away some over-the-counter sleeping pills (diphenhydramine) because I think they're contributing to my liver problems.
In terms of the overthinking, I slept with a white/brown sound machine on last night and it helped with the overthinking by focusing on the noise to distract from the thoughts. I hear some people sleep with a fan on or use a phone app for the same effect. Sorry, I know you didn't ask for advice, your post just coincided with me trying out the white noise thing for the first time yesterday. I hope the sleep you get gives you the temporary peace from your thoughts you need.