Correctly load and define things

- Also change a few more #render occurrences