Rewrote Render.cpp/hpp, removed some old stuff.
Rewrote Render.cpp/hpp, removed some old stuff.