fixed issues revealed by buffer tests

completed buffer tests

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial