fix pack expand=True for plugAddDialog
cleaning preferences.py