Code now transmits 2 lines either side of line where error was thrown. Obeys bounds