Stuff for OS X and emacs 24. Mostly theme compatibility.