moved render functions and variables to render.cpp/h
Please enter the commit message for your changes. Lines starting