implement image preloading to avoid flashy effects with slower servers such as simplehttpserver