I prefer to have the window buttons on the right, which I finally managed to do in gnome-shell using

gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close"

Happy days.