Fixed memory leak, broke rendering

Get to work early and think about modules!