Actually implemented tryWriteChan properly; added tryReadChan also.