Do not hang if interval is 0 or not a number
Fix typo
Merge pull request #69 from linquize/hang

Do not hang if interval is 0 or not a number
Merge pull request #70 from linquize/typo

Fix typo