Adds error checks

- Increases curl timeout to 10s
- Adds custom mobile css.