I still don't understand why Sun stuck around while all the rest went back in time, other than the fact that the writers wanted to build up to a Jin Sun reunion some time in the future.

Also why would detonating an a-bomb cause everything to get 'fixed'? Jack's lost it and I'm pretty sure Sayid went along to stop him.