added the possibility to save DObjects to text files (for #175)
more logging for layers in hadoop mode