fixed typo on safeContext debugging code
refactored import to use one fetch instead of many fetches to check for duplicates
removed comments
wrapped nsassert in debug ifdef