UI validation and errors

- Errors alerts are shown an ajax requests fails with 404 or server failure
- Adds UI validation for percentage values
- Fixes #6
- Fixes #5
- Fixes #7