The work situation sounds very stressful, as I mentioned I'm going through similar ( not as bad though) and one of the things my grandfather said which finally made me decide to leave was " you work for them not live for them."
As for the program you might find that it belongs to the company (...