Clearqueuebugfix

I'm putting this as a PR for feedback. I started working on sending one giant message to all users, but I think @cwinsnes's solution is cleaner. The alternative I could think of would iterate through the queue position on all the clients instead, and then it's better to do that on the backend.