20,22c20 < event_struct_name = TAG_NAMES(event, /STRUCTURE_NAME) < ;help,event_struct_name < IF ( event_struct_name EQ 'WIDGET_TIMER') THEN BEGIN --- > IF (TAG_NAMES(event, /STRUCTURE_NAME) EQ 'WIDGET_TIMER') THEN BEGIN 265d262 < 348c345 < if (ext eq 'fit') OR (ext eq 'fits') or ext EQ 'fts' THEN BEGIN --- > if (ext eq 'fit') OR (ext eq 'fits') THEN BEGIN 409,410c406 < IF (file_ext eq 'fit') OR (file_ext eq 'fits') or file_ext EQ 'fts' $ < THEN BEGIN --- > IF (file_ext eq 'fit') OR (file_ext eq 'fits') THEN BEGIN 573,574c569 < IF (file_ext eq 'fit') OR (file_ext eq 'fits') OR (file_ext eq 'fts') $ < THEN BEGIN --- > IF (file_ext eq 'fit') OR (file_ext eq 'fits') THEN BEGIN 594,595c589 < ;a = reverse(rotate(a,2)) < ; Why do this? Most files are not reversed. --- > a = reverse(rotate(a,2)) 1633c1627 < def_path = ['./','D:\Temp\'] --- > def_path = ['/home/jar24/data/images/','D:\Temp\'] 1773c1767 < window,/free,/pixmap --- > window,/free,xsize=xsize,ysize=ysize,/pixmap