Catch some sqlite errors we were previously missing.
Merge pull request #12 from kenmyrs/errorHandling

Catch some sqlite errors we were previously missing.