bug fixes, saving FITS files with lots of header info now works