Refactoring (added ; for ST), some fixes
RenderElement