tab refresh order fix, overflow count fix; bugs not yet fixed