fixed lots of Swing threading issues (long-running stuff executed on EDT, code that modifies UI components not running on EDT)
WIP