Added optional output compression.
Logging tweaks for setup.