Updated some stuff to the new texture system.