Major draw performance optimization

Doublebuffering and draw call caching.