Probably you don't wanna hear this, do you have a plan after you gone through with that program?
How about the book you were reading? Have you been reading, learning anything after that in your spare time?
I do thinking all the time at work, you can work and think at the same time if it's not too busy, I believe it's achievable to have a less emotional response to an outside events, all on your own, even if you can't fix how you react to certain situations, the customers you don't like for example, I think seeing yourself when and how you react and do some analyzing, or you can just remember them as a record. Your mind might focus on not so annoying outside people or whatever, you can do something that's not a torture for yourself.
The system, the punishment you say is corrupt. If so, don't let it hurt you any more, demands your right for warm clothe, ask for more consecutive day offs.
How's the work environment btw? Is anyone on your side?
Sorry, the third paragraph might not be decipherable. Anyhow, I got a good one for you from the memory. Your attitude, under any circumstances has to be unshakable, unshakably good. D'you hear me?
Unemployment itself is tough and you won't know how long it's gonna be. I want you to keep working on yourself and come out strong. 20 weeks! 20 weeks of time, they robbed off you. Be angry if you have to, this may sound too harsh but no time to be feeling too depressed. Pat yourself on the back for having done the 20 weeks, you have survived, still standing. It's just the building, sucky place and sucky customers. By the way, will you be evaluated at some point? Does it matter at all in the future employment?
I hope you get yourself back again, Magic.