Add documentation for conditions
Fix spacing
Fix stats tests
Fix Settings