Hook into table destruction

More adjustments to the row header sizing fix.