fix extruded items texture leak
fix various memory leaks