Dynamically update queue on statistics page

Fixes #51