Whatever you do, DO NOT QUIT. The lessons that you just learned are going to help you and most likely will guide you in the future. After a while you will meet other people like these two, who are most likely responding to pressure from above, and since both of them seem to micromanagers (my assumption) they would find something to fuck about with you regardless. You know what you have done, and there is no possible way to respond or meet deadlines when there is a hidden agenda. Just do what they ask to the best of your ability and the rest will take care of itself. Good luck and Godspeed.