gitk: Add some more comments to the optimize_rows procedure