update --pre, legend, states
sml chnchs
add option to receiver: Initial buffer size:     (periods) --pre <number>