Fixed draw buffers.
Removed debug code.