Topics in robust mean estimation and applications to importance sampling