Still more port setting fixes.