Detects when you win/lose, added in bomb photo, some other stuff i forgot