made UI more responsive; escaped HTML in captions; spinner texts are reset