fix: switched to new GIMP 2.8 API

only non-batch scripts for now!