10.6 compatibility: only call setAnimationBehavior if available.
Add shadow for tooltips.

Port of these settings from the (Appkit) Mac port of Emacs 24.