Fixed missleading default for downsampling>1, saving of histograms into CXI implemented.