Re: Anti-Spock racism/general disrespect for the XO
The attitudes we saw towards Spock always gave me the impression that the Federation was much newer than depicted in the later series and maybe the Vulcans weren't highly regarded for whatever reason. The lack of emotion likely made the integration of the different races difficult.
And yes, on several occasions McCoy was way out of line regarding Spock.
"Just give me two seconds, alright, you mad bastard!" - Montgomery Scott, Star Trek Into Darkness