städa kod
looking for memleaks
no mem leaks in renderer