onload image textures to avoid firefox from exploding. closes #1