Tracking characters in movies within logical story units