This patch fixes the processing of the input stream. If the user finishes the file and forgets to terminate with a blank line, the previous version would ouput nothing or just all the other paragraphs except the last.
This catches any left over input and processes it at the end of the file.
Also, adds a small comment... para is actaully a variable that could be holding a paragraph (multiple sentences) of data. Which the sentence detector should be very accustomed to dealing with as input.