I've been studying programming/webDev for the past year (since my last release from prison) with the hope of making something of myself other than being a 46 yr old ex heroin addict, ex con, etc. Looks dim for me, oh well.
I'm in a similar situation as you (regarding depression. Esp. concerning certain thoughts of cashing it all in).
I just watched a movie the other night called Stutz, a documentary by Jonah Hill about his therapist. If you can get past the parts about Jonah talking about himself, the Dr has some really excellent gems of wisdom and advice in that film.
Keep your head up bro