fix doc building, dataencrypt api and minor ui tweak

A bunch of changes.