Changes to make gelutils python3 compatible. Also added filename format parameters pngfnfmt and svgfnfmt to control output filenames.