Stopped constant allocation and deallocation of textures in some of the drawing code.
More fixing along the lines of the last commit.
Merge branch 'master' of github.com:anura-engine/anura