Fix numerous minor problems with new phy subsystem.