all 13 conditons working again,

cleaned up settings.php,
cleaning up code base to follow zend coding style guide,
changed most files from tabs to using 4 spaces in place of tabs,
changed !DOCTYPE to html5 tag