A lot of brilliant academics have piss-poor social skills, and some of them are even piss-poor human beings. From what you're saying, this guy acts unprofessionally like this on a regular basis. Chances are that everyone else knows it, and they aren't looking down on you for what he says -- they are feeling sorry for you for having to deal with him. So, try to keep your pride in yourself and your self-worth, do the best work you know how, expect the advisor to be an ass and don't take it personally, get your MA and get out. Good luck -- I know it's hard to deal with people like this!