improve mask handling; put file name at the bottom of plots; add docu