500% remove the hut---ANY shadowy or dark places inside or outside of the cage (clothing, bedding, blankets, crumbled paper, boxes, low ledges, furniture, huts, tents, pillows etc) can all trigger hormonal behaviors and those behaviors often manifest as aggression, screaming, self-mutilating etc etc.
Next, 1 month is not long, so if you haven't built trust, you will get attacked if you fail to read the bird's signals and try to touch anyway. It sounds like you need to go back to square 1-- do quiet things around the cage and allow him to enter and exit as he please (so long as this can be done safely). Talk to him, read to him etc, but live your life and let him see you aren't a threat. If you can easily feed treats from your hand without him acting scared, then do, but if there is hesitation, DON'T push it. You don't want to rush this and become associated with anxiety-inducing situations. His cage is clearly a place he feels safe (this is normal). Do not try to touch him at all right now---you need to rewind completely and when he is ready to be touched, he will come to you and it will be obvious. SLOW DOWN...way down....And, remember that since you will be starting back at square 1, you will have to remove the month that you have had him from your expectations when taming, as it sounds like there was a lot of fear....So, after 1 month of doing things right, you will probably start to see some positive changes (but today will be day 1 of that month). Currently, you are probably in a trust hole, and you will need to build that back up (don't worry--you can fix it, but it will require patience).
Again, one month is way too early to try to handle/tame a bird (unless your bird is exceptionally gregarious and trusting)...My bird came to me knowing how to step up, but I couldn't pet her easily for over a month and I couldn't pick her up for 3....Just saying...
PS: When your bird does allow you to pet him, pet on the head/neck only. Anything else triggers hormones and is perceived as sexual/mating behavior by the bird...Cuddles look cute, but they aren't all that innocent.
PPS: Be very cautious with those rope swings. Birds can get intestinal blockages from the cotton over time, and they can get their toes tangled in them easily. My bird has one, but I took it out of her cage and she now uses it near her play perch when she can be supervised...I don't trust her alone with it when I am out or asleep.