Fix race condition in guiterminal.

Woah.

This is a major breakthrough, the stuff the server sends is actually
displayed on the terminal.