Merge pull request #2 from vortical/master

Remove call to alert in textures.loadTexture and Texture2D
Fixed issue in models.draw where totalComponents value was assumed to be the number of indices components even when model did not have an indices property. If model has no indices property then totalComponents should be the number of vertices in the model