Added capability for external configuration directory.
Z decompression added/fixed.