Improve resRender and create settings form