tweaks to gif rendering