Code formatting cleanup pass, no functional changes
Add nse_debug() function
Update email address and ISC license in COPYING