Configure logging _first_, so that the verbosity level applies to things during initialization (i.e. CLI::PIDFile).
Do not rely on __FILE__ to generate executable name, as it is patently incorrect.
Slight refactor to pull the daemonization code out into its own neat little area; add a "main" method place-holder.