Further usability improvements:

* add basic validation for the add form
* make the client respect the Flask debug flag in the config yml file