For those interested in tweaking Safari 4 but don't want to mess with Terminal, here's a simple solution:
http://pointum.com/safari-tweaks.html
If you've already made some changes you can still install this tweak menu and it will reflect the current status of your tweaks.