Converting tabs to double spaces, various coding standards fixes