improved swing threading, and chart updates