Shell|GUI|Text: Clear the log widget contents before connecting

The contents of the log widget are cleared whenever opening a new
connection to a server.