now converts chunked data (i.e. several IDAT sections)
removed some logging