added more fields to initializeImageSubheader
started experimenting with addint TREs