Changing code to support GetEngineSettingsFromPanel.

Should have been in the last commit.