Started on the renderer, fixed some member variables in rendersystem