to be honest even the best job in the world isnt going to prevent you grieving but yours does sound really dire.
It is so hard when the foundations of your life crumble like this and it really is very early days for you, i know a lot of people think the funeral is it, then life goes back to normal, and people fade away back into their own lives.Is there anyone outside work you can talk too - another relative or friend maybe some-one from your old workplace- because people dont know how to react too us and so sometimes we need to reach out first and then when they know we need support they step up.
I found writing here helped - the act of writing itself as well as replies, real friendships have grown from here and we will be here as long as you need us - we even have an every day chat section because sometimes what we miss is just that every day conversation.Also i found keeping a diary helped - you can do your own here so you know where it is without searching through lots of different subjects - mine took the form of letters writing too my husband about obviousely not just how much i missed him but all the other stuff i would have told him anyway.
As for your job - this is probably the worst time to make life changing decisions, but it doesnt mean you cant think about them and plan towards them -so while you may have to stick it out for now keep an eye out for other opportunites or ways to create those opportunitys. I work in a solitary office and its not very interesting work in itself -but i,ve done some free online courses and started transferring my skills to other areas doing voluntary stuff - i think having things to do outside work can make a bad job feel better it becomes a means to an end not an end in itself and so doesnt feature so heavilly. I,m no social butterfly but i have filled the spare, previousely lonely time with other things over the last couple of years as a result of the courses.