Fixed out-of-bounds error in SpriteTexture
Added run-time flag to disable the side-console