bugs fixed and added renderstart, render, renderend and present to dxrenderer and renderer