swing threads fixed - session quitting fixed