add clean target to makefile
fix segfault when using incorrect search string
use correct search string
Merge pull request #1 from ralphtheninja/master

segfault fix
adding conventions