debugging: open the log file "rb" instead of "r"
debugging info removed, now works as described in commit
d48a395e546f54515170446bda748a1e4a4bb2d0

The internal editor line number display shows only up to four digits,
which is not enough for chat histories.