- use vertex arrays to handle buffers.
- removed some deprecated stuff from texture generation code.
- started transitioning to parameter buffers for data transmission to the GPU.
- corrected some comments.