Fixed a few minor errors in the Graphics subsystem.

Added a missing include, fixed a buffer bounds issue, corrected a
datatype and added auto-creation for the TextureManager.
Corrected numerous places so that the setting of an Alpha value is done correctly in texture generators.