pb
pb copied to clipboard
various fixes
Hi,
these are the initial commits from #55 which don't actually implement logging.
The individual commits should speak for themselves, I don't think any of them should break the API.