One thing I have found in life, is that never, ever, bad mouth or do anything nasty to anyone.
The world is so small, and especially if your work is a of a specialist nature, you are bound to cross paths with people you have known.
You never know if your life will turn on the way you have treated someone from your past.
So no matter what, if I left a job, I'd go out, thanking the boss for the time I'd been there, give everyone a smile and a handshake. What you actually think of them, is up to you and kept to yourself!!!!
Stick with it, finish all the projects you can, leave it ready to have a smooth handover and just thank God you have managed to get out.
Never ever leave with a closed door, just in case!!!!
Good luck and keep counting the hours.