more render refactoring
render theoretically works
what it actually compiles and runs