Keep Safari from hijacking the media buttons from controlling iTunes
This was driving me crazy, so I wrote a little menu bar app to make the media keys only affect iTunes:

http://stuntsoftware.com/reflex/