Fixed testdata indents.
Helper buffer class.
Some refactorings in Renderer.