Add support at generate and use more then a single Ghostscript instance simultaneously.

The use of a single instance remains in turns.