Move extendLine to LineUtilities class.
Fix Javadoc warnings.
Fix for endless loop in createTextBlock().
Update Javadocs, remove unnecessary method.