minor changes, renamed tga_header to file_header, added some docs