allow for empty search string
code reordering
remove whitespace
Merge pull request #16 from benib/master

Allow empty search string