adding functions to get stats on pixels and metadata independently; adding ability to get header data from readout->analysis