Migrate to hgl for rendering.

**NOTE**: not ready yet. Please wait until hgl is updated to the latest nightly before merging.
Closes #47.