Refactored NFC.util to have scoped variables.
Make debugging through console logs optional.
Fix minor variable name mistake.