Improved logging system, now has --long & --debug options.
Various Nagios Plugin compatibility fixes.