Fix up ivar name in prefpanel
Remove dead code from prefpanel