some RenderThread tweaks