Provide feedback to the user (fixes #7).

* Actually display an error message when a request is not
  successful.
* Show a message when we are waiting for the server.
* Make clear the program ended.
(never mind, appears to work fine)