Bug fixes

- Require for nbtfile was incorrect for Macs.
- Bizarre 'undefined method' exception affected the sorting of the 'deferred' array.