added checks for zero peaks
more informative log messages
Merge pull request #47 from srl147/devel

added checks for zero peaks