Minor improvements for gimp plugin