started removing old rendering code.
fix up cvar code using Lua.
remove old builder code.