Of course the painting of table borders in the collapsing model is due to Jeremias. Damn me for not thinking of that in the previous commit.