Moved renderer and vendor into GLState

Several style fixes