figured out proper scoping for looped texture loading
Merge pull request #17 from allenarthurgay/fix-texture-loading

figured out proper scoping for looped texture loading