Work in progress converting to use ECPreferencesWindow