How to add the 'Quit' option to the Finder’s application menu

To continue on with my ‘how to disable’ defaults-write series, here’s a great one that I have used in the past.
Firstly, I should clearly state that it is VERY rare for a Mac to be poorly, so this should hopefully never have to be used! Having said this though, if you ever find yourself feeling the need to force quit the Finder as you think the interface has gotten stuck or seems slow, there is an easier way to do this, which is to add the ‘Quit’ option to Finder’s application menu!
To enable the Finder’s ‘Quit option’, all you need to do is enter the following command using the Terminal Application from /Applications/Utilities:

defaults write QuitMenuItem -bool true;killall Finder

The Finder should quit. To re-open the Finder, click on the Finder icon in the Dock and the ‘Quit Finder’ option will be available in the Finder’s application menu:
force quit finder
If you do want to revert back to the default setting and remove the Quit menu option in the Finder, just enter the following command:

defaults write QuitMenuItem -bool false;killall Finder

While the author has taken care to provide our readers with accurate information, please use your discretion before acting upon information based on the blog post. Amsys will not compensate you in any way whatsoever if you ever happen to suffer a loss/inconvenience/damage because of/while making use of information in this blog.
This feature has been tested using OS X v10.8.4 which was the latest Mac OS release at the time of writing.