The best evidence suggests that male pattern baldness is 80% genetic.
Genetic prediction of male pattern baldness
Stress, diet, exercise, smoking, exposure to toxins, and all other factors put together only explain 20% of a man's hair loss.
I've read that traumatic experiences and very stressful conditions (like being a soldier during a war) can cause acute hair loss, but that's different from male pattern baldness, and it grows back once the trauma ends.
I think your hair looks fine.
With respect to the traumatic incident you experienced and the follow-up symptoms, I really hope you told your doctor about them, and that he in turn had you talk to a mental health specialist. There's no shame in doing that, and you don't have to tell all your friends and family that you did it. If you never revealed your problems to your doctor, you should set up an appointment and do so ASAP. Even if you're feeling "OK" now, it might be that you have a chronic problem that will inevitably recur. Better to address it sooner rather than later.
Also, if your job is really stressing you out, then you need to start taking steps now to getting a new one. Take it from me: I've had several bad job experiences in my life, and the biggest lesson I've learned is to move on as soon as possible. Yes, looking for new jobs and going to interviews is time-consuming and hard, but it's worth it if it gets you out of a miserable current job.