Misc improvements & experimental support for logging
docs