Fixed #169 - Server crash

This doesn't even need to be an array anymore, now that I think about it. Each call to `/api/sync` generates its own ID, and a token to go with it.