Keep the old subtitles file alive until the new one is fully announced

This fixes crashes from touching dangling references to lines in the old
subtitle file in the handlers for the various signals triggered when a
new file is opened.