Look dude, being a gym rat is a luxury. If you're swimming or something fine but weights and the like is really just supposed to be icing.
Get your health in order first. That above all is a priority. Be active and all don't get me wrong, but the body needs rest and time to heal. Trust me, it took about 2 years for my fucked up back to get anywhere close to where I was before.
That being said, take care of the low hanging fruit such as what you're doing like cutting out the crap. In fact, there's little else you may be able to do. I'm in the camp now that it's not just a simple matter of calories in calories out but a hormonal issue. Shit's complex.
But yeah, get your health in tip top shape. That above all is the most important.