Snapchat says it is sorry for its past mistakes, and it has fixed its biggest one by shutting the door on third-party apps.