Switch over to Q library.

And actually make the server stuff work.