added accessors for internal textures, more flexible setTexture routines, some formatting

I needed to add this functionality for a project I'm working on. Allows outside access to the buffers so you can read from them. Also added blending mode and alpha value for set texture to provide more fine grained control over the buffers.