Minor cleanup, suggested by Eike Hein.
Add command to read the last messages.

In principle we could poll this to get messages into the chat window.
There are better ways, but this would work for a start.