Some cleaning up work

* Removing trailing spaces in docs
* Add missing docs for some configuration options