Settings dialog: set port range to 1-65535 and right-align.