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.
Yeah, I just didn't expect `textContent` to have that behaviour.