add names for connections and ability to use name. fix some issues with connecting and reconnecting.