Add debug graphics mode
Correct culling.