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.
Every time there is a new result, either .textContent or .innerHTML is called and both remove all children on a node.