Fixed an issue where the DB would time out.
Fixed a typo
Merge pull request #3 from bobtwinkles/master

Fix crash.