Add createRenderTask.
Fixed createOsd to return an osd or null (instead of a list).