Fixed zombies, potential leaks, and quad rendering bug.