add line breaks
Fix bug "PHP Notice:  Undefined offset: 0"; added check for the existence of changes from the last version