ModFit: general maintenance to cover changes to GraphPanel.