cleanup: don't use swing threads in addParams

the whole thing is called in a swing thread