Moving qm_* functions to qm_renderer.c/.h.