Minor improvements

- Pulled out inline CSS into external file
- Made database error messages more consistent