code cleaned up - multiple pipes working - close to no lag - somehow pause working?