Oh vj, how stressful!!!!
I know the legal system hardly at all, so have no advice there. Wish I did. My BF has been threatened with jail time, and my reaction was very much like yours. It very much sucks when it feels like certain very important things are out of your control!! Hopefully there is a way for you to have input in the process. Good advice from the others -- talking it out and keeping busy. I haven't been able to think of any others to add. I'm thinking of you though...
How are you doing today?