Added showCaptions configuration option