Fix text input issue and send all avalible port to console upon connect/reconnect for easier debugging