Bad return from one of the call-backs fixed.
Prevent death by null when accessing the internet.