Don't log exception during exception handling twice.
Disconnect destroyed signal of objects deleted in objreg.

Fixes #205.