Refreshing swing components from other threads fixed.
Other minor changes.