Cleanup and comply with Nagios plugin guidelines http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN76