code cleanup; add config items (fixed for now)
Merge branch 'webdav-shares'