Major refactor on the rendering pipe-line, though it should not affect anything yet.