SciptListener does work, but isn't clean.
That statement does not make a lot of sense.
A common practice to get more readable code is to pack the AM code into functions.
I seem unable to adjust the curve once I create it.
Do you mean change the settings or raise the dialog?