Absolutely right, A is colloquial shorthand and not grammatically proper. Adding who improves the text but doesn't fix it; there's still an unsemantic tense use. How can you close the curtains if you've already left the office? Both B and C are acceptable and correct remedies.
B indicates you should, as part of the process of leaving, close the curtains.
C specifies that the curtains are to be closed immediately before exiting. The use of present tense tells us that the two actions happen at (effectively) the same time, and logic tells us that the curtains must be closed before you've left. Whether or not closing the curtains is part of the process of leaving is technically ambiguous but irrelevant.
(If you are the last person to leave applies in both cases, obviously.)
You're also spot on with the addition of the; it should indeed read the curtains. Technically speaking, without the it's unspecified which curtains should be closed, though the meaning is readily evident without the article.
Bonus alternative: you might also fix the sentence like this:
Please close the curtains if you are the last one left in the office.
Here, one need not be leaving to be obligated to close the curtains.
Best Answer
It depends on the context. Stating that you will be at the office at 9 implies that you shall arrive at 9. However, stating that you will be in the office at 9 implies that you shall continue to be in the office at 9.