some improvements for contactlist repainting