Improved exception handling

Use Python logging to log exceptions that can't be propagated back to
caller (queued method invocation). Works OK with Python 2 & 3.