More coding standards warnings and errors fixed.