1) set_error() present, 2) copyoriginalfile ()
repared, 3) EPS header modified. Tiny bugs fixed