Various changes:

- better error handling in add page
- handle case where book has no cover info
- build fixes