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.
This looks like it might add a new element every time without it being removed, although I haven't tested it.