          else:
              def renaming(src, output_dir, i, changes):
                  src_basename = os.path.basename(src)
  
                  src = os.path.join (output_dir, '%.5d_%s' % (i, src_basename) )
                  dst = os.path.join (output_dir, '%.5d%s' % (i, os.path.splitext(src_basename)[1] ) )
                  return src, dst
              return renaming
  
      @staticmethod
      def get_avg_score_hist(img1, references):
 
</s> remove                 __src = os.path.join (output_dir, '%.5d_%s' % (i, src_basename) )
                dst = os.path.join (output_dir, '%.5d%s' % (i, os.path.splitext(src_basename)[1] ) )
 </s> add                 __src = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
                dst = os.path.join(output_dir, '{:05d}{}'.format(i, os.path.splitext(src_basename)[1])) </s> remove             dst = os.path.join (output_dir, '%.5d_%s' % (i, src_basename ) )
 </s> add             dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename)) </s> remove                 process_file (src, dst, self.changes)
 </s> add                 process_file(src, dst, self.changes) </s> remove                 os.rename (src, dst)
 </s> add                 os.rename(src, dst) </s> remove                 src_basename = os.path.basename (src)
 </s> add                 src_basename = os.path.basename(src)
                src = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
                dst = os.path.join(output_dir, '{:05d}{}'.format(i, os.path.splitext(src_basename)[1]))
          else:
              def renaming(src, output_dir, i, changes):
                  src_basename = os.path.basename(src)
  
                src = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
                dst = os.path.join(output_dir, '{:05d}{}'.format(i, os.path.splitext(src_basename)[1]))
                src = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
                dst = os.path.join(output_dir, '{:05d}{}'.format(i, os.path.splitext(src_basename)[1]))
                  return src, dst
              return renaming
  
      @staticmethod
      def get_avg_score_hist(img1, references):
keep keep keep keep replace replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
tools/sort.py