Added synchronization for leveling up and using abilities.