Move real-time rendering to the client side.

Closes #2.