Refactoring of Subtitle timestamp handling