Better error management in sweep session code.
Cosmetic changes
Merge branch 'devel' of https://github.com/shallem/LinkPublicAppServer into devel
Merge branch 'devel' of https://github.com/shallem/LinkPublicAppServer into devel