Added basic support for multiple textures.
Replaced image loading to allow for usage of jpg file format.