Updated refresh code to work better with styling

I hope...
Moved some things around and changed the way refresh is done.  Instead
of redrawing the whole table it just redraws the data rows.