Added many bugs and fixes.
Sphinx config changes.