Initial NCX support.

Pushing so I can test it from OS X.