Fixed linerendering system.
Just trying to merge...