new_lines should use strncpy, and wrote get_id() to declutter code
cleaned up my changes
Merge pull request #277 from CharmlessCoin/nTox_fixes

nTox cleanups