fixed timing bug
error handling on bad searches
Merge pull request #5 from jlamere/debug

error handling on bad searches and fixed timing bug