MANY compiler warning fixes