Continuing the ngscopeclient static analysis cleanup rampage, now down to 93 err...

@azonenberg@ioc.exchange

Continuing the ngscopeclient static analysis cleanup rampage, now down to 93 errors and 999+ (the dashboard stops reporting at this point) warnings.