Fixed infinite recursion bug in debug overlay drawing.
Cleaned up testing.js, removed some namespace collisions.