allow changing of port count improve the gui to fit ports in smaller space auto update when ports are changed for eg from another app