added ability to cut out redundant empty lines from 'removed' lines to compensate for added lines
added ability to cut out redundant empty lines from 'removed' lines to compensate for added lines