static/index.html loadimage_onload() -> render_if_ready() (to be called from elsewhere too)
static/index.html: Add support for gamma + gain changes