Fix bug modifying dictionary during iteration. Achievements now sync on authentication.