assorted fixes and docs updates