Removed msleep in favor of nsleep

Fixes #30.