Tried to fix null source file.
log more global exceptions.