fix jp2 thumbs and clean up requires and autoloads