ability to pass thumbnail URL and loading mode from canvas tag, plus fixes for setting the thumbnail