Fix: Basic coding standards errors

Unable to fix ADODB_FETCH_MODE due to global.  Most warnings untouched.