sundry bugfixes from latest round of testing, includes fixes to path based sharing