Ignore compile stuff, objects and textures. Fix elseif.