Added support for chunk compression.

Fix: edit mode caused removal of information in a field
which was not specified on command line.