Clean up of render stuff

Signed-off-by: Jack Huey kitskub@gmail.com
Merge pull request #2220 from kitskub/meshes

Clean up of render stuff