I accidentally plugged off the adaptor while i was surfing the net (without the battery connected). Computer shuts off. Reboot the mbp, everything seems ok. Done this a few times now

Anyways.. now Safari closes right away when I open it. I can't install a new safari, so I thought it's because of the old software, so i deleted safari from my computer. Still i can't install.. right now im downloading safari through my bootcamp lol. Hopefully it'll work. DO you guys know what's happening with my SAFARI? TIA.