Smarter sleep; better message handling.
Merge pull request #7 from juanshishido/master

Smarter sleep; better message handling.