Corrected sentence reading while getting SentenceUnit.
Safely closes.
Updated to final version