added preference pane and commented out test code