drop to warning level /W3, fix remaining level 3 warnings