Make the server multithreaded.

Without this, the concurrent requests when refreshing the page sometimes
caused the dashboard to get stuck.
Merge branch 'serve_multithreaded'