changed method of repainting. klbrann