Fixed sub-texture rendering to use correct width, fixed primitive drawing with transparency, added a bunch of OpenGL feature enabling and updated AdventureView to work in a grid and draw just a single sub-texture.