nTox Cleaning

Cleaned up various things in `nTox.c`, as well as adding more error checking.