Added proper error handling to db.go, misc. spelling fixes.
Merge pull request #21 from teknico/vp

Added proper error handling to db.go, misc. spelling fixes.