Fixed constant sky subtraction for considerably masked detectors. Better handling of data tree misconfigurations (home directory is not allowed to be the main data dir). Fixed a crash related to non-initialized WCS when displaying recently created global weights.