first pass works
rle robustness
reduce needless unpacking
remove debug output