Added port-specific settings

Settings are saved when the port is opened. If you select that port
again with the "Remember ports" box checked, it automatically loads
those settings. The "Save settings" box also remembers the state of the
"Remember ports" checkbox.