Discovery and optimization of 2,3-diaryl-1,3-thiazolidin-4-one-based derivatives as potent and selective cytotoxic agents with anti-inflammatory activity.