Fix for sentences longer than 100 chars, log messages to a file