catch deleting lines when they are combined

when deleting at the end of the line, but not the end of the program,
  and there is no selection; reports the next line is being deleted
when backspacing at the begin of the line, but not the begin of the
  program, and there is no selection; reports the current line is being
  deleted
implemented new MainWindow slot to receive lines deleted signal