full logic for selecting default pipe
full logic for selecting default pipe

latentflip/telehash-js,telehash/telehash-js,telehash/telehash-js,vweevers/telehash-js,vweevers/telehash-js,latentflip/telehash-js