fixed compiler warnings and undefined textures