Bug fixes

- Require for nbtfile was incorrect for Macs.
- Bizarre 'undefined method' exception affected the sorting of the 'deferred' array.
Merge pull request #3 from SamuelLockyer/patch-2

Bug fixes