fixed logging of jp2 file generation messages, and checked use of maps.