wrapped the tree table repaint in an invoke later