[finder] Only restart Finder if preferences have changed
[dock] Only restart Dock if preferences have changed
[dock] Don't define 'killall Dock' twice