refactored to move transmit loop into a function...
still prints messages about each packet. 
Need to remove them in the next refactor when we add all the buffers.