tidy redis module code and doc. and some other small tweaks.