adds a hack to make firefox refresh images from the stream. adds option refreshRate to set the interval in Hz. sets the refresh rate to the longest time betweenoptions  refreshRate and interval