Fixed kill function, added check for mailto links