Plenty of changes and improvements done to Render2D class.