Adds previous line and adjusts MAX_CHARS
Adds previous line and adjusts MAX_CHARS

- The previous line (used in the diff) is also displayed
- The constant MAX_CHARS has been decreased to 256 in line with the
buffer size.
- New lines are now ignored in the read and appended in the file write
or screen display.

ahills60/DAMSONProfiler